package com.link.base.base.visitpic.controller;

import com.link.base.base.visitpic.model.VisitPic;
import com.link.base.base.visitpic.service.VisitPicService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * 拜访-照片
 *
 * @author 宁蓝昊
 * @date 2019/03/18 20:03
 */
@Controller
@RequestMapping("/link/visitPic")
public class VisitPicController extends BasicController<VisitPic> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private VisitPicService visitPicService;

    @Override
    public BasicService<VisitPic> getBasicService() throws Exception {
        return visitPicService;
    }
}
